-- GENERATED SPELL FOR [Dark Ranger Marrah] --


function spell0_24137(pUnit, Event) --@Stealth,Self--
pUnit:FullCastSpellOnTarget(34189,pUnit)
pUnit:RegisterEvent('Sorts_24137', 653, 1)
end

function Sorts_24137(pUnit, Event)
local choix_sorts_24137 = math.random(0, 0)
if choix_sorts_24137 == 0 then
pUnit:RegisterEvent('spell0_24137', 1, 1)
end
end

function mob24137_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_24137', math.random(1500, 3000), 1)
end

function mob24137_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24137_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24137_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(24137, 1, 'mob24137_Action')
RegisterUnitEvent(24137, 2, 'mob24137_Leave')
RegisterUnitEvent(24137, 3, 'mob24137_Kill')
RegisterUnitEvent(24137, 4, 'mob24137_Die')
